package com.fzu.ess.common.service;

import com.fzu.ess.common.Model.FileInputModel;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by ercha on 2015/10/28.
 */
public interface UploadService {
    /**
    * 〈upload〉:TODO
    *
    *
    * @Date	        2016/1/1/19:32
    * @author       ercha
    * @methodName   upload
    * @param          request, inputName [, 上传文件的 input 的 name]
    * @return         失败则设置 FileInputModel 的 error
    * @throws []
    **/

    FileInputModel upload(HttpServletRequest request, String inputName);
}
